<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>释放已导出的 WSAPROTOCOL_INFO 结构体</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="function.socket-wsaprotocol-info-import.html">« socket_wsaprotocol_info_import</a></li>
      <li style="float: right;"><a href="class.socket.html">Socket »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="ref.sockets.html">Socket 函数</a></li>
    <li>释放已导出的 WSAPROTOCOL_INFO 结构体</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="function.socket-wsaprotocol-info-release" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">socket_wsaprotocol_info_release</h1>
  <p class="verinfo">(PHP 7 &gt;= 7.3.0, PHP 8)</p><p class="refpurpose"><span class="refname">socket_wsaprotocol_info_release</span> &mdash; <span class="dc-title">释放已导出的 WSAPROTOCOL_INFO 结构体</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.socket-wsaprotocol-info-release-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>socket_wsaprotocol_info_release</strong></span>(<span class="methodparam"><span class="type">string</span> <code class="parameter">$info_id</code></span>): <span class="type">bool</span></div>

  <p class="para rdfs-comment">
   释放 <code class="parameter">info_id</code> 对应的共享内存。
  </p>
  <blockquote class="note"><p><strong class="note">注意</strong>: 
   <span class="simpara">
    此方法仅在 Windows 上可用。
    </span>
  </p></blockquote>
 </div>

 
 <div class="refsect1 parameters" id="refsect1-function.socket-wsaprotocol-info-release-parameters">
  <h3 class="title">参数</h3>
  <dl>
   
    <dt>
<code class="parameter">info_id</code></dt>

    <dd>

     <p class="para">
      调用 <span class="function"><a href="function.socket-wsaprotocol-info-export.html" class="function">socket_wsaprotocol_info_export()</a></span> 返回的 ID。
     </p>
    </dd>

   
  </dl>

 </div>

 
 <div class="refsect1 returnvalues" id="refsect1-function.socket-wsaprotocol-info-release-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   成功时返回 <strong><code>true</code></strong>， 或者在失败时返回 <strong><code>false</code></strong>。
  </p>
 </div>

 
 <div class="refsect1 seealso" id="refsect1-function.socket-wsaprotocol-info-release-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li class="member"><span class="function"><a href="function.socket-wsaprotocol-info-export.html" class="function" rel="rdfs-seeAlso">socket_wsaprotocol_info_export()</a> - 导出 WSAPROTOCOL_INFO 结构体</span></li>
  </ul>
 </div>

 
</div></div></div></body></html>